<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2018/11/25
  Time: 19:52
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
<%--常用注解--%>
<a href="anno/testRequestParam?name=haha">RequestParam</a>


<br>

<form action="anno/testRequestBody" method="post">
    用户姓名：<input type="text" name="username"><br/>
    用户密码：<input type="password" name="passowrd"><br/>
    用户年龄：<input type="text" name="age"><br/>
<input type="submit" value="提交">
</form>
<a href="anno/testPathVariable/10">testPathVariable</a>
<br/>
<a href="/anno/testRequestHeader">testRequestHeader</a>
<br/>
<a href="anno/testCookieValue">testCookieValue</a><br/>

<form action="anno/testModelAttribute" method="post">
    用户姓名：<input type="text" name="uname"><br/>
    用户年龄：<<input type="text" name="age" ><br/>
    <input type="submit" value="提交">
</form>


</body>
</html>
